<template>
    <card>
        <Form ref="loginForm" :model="fog" :rules="rules" :label-width="80" style="width:400px;margin: auto">
            <FormItem prop="Email" label="邮箱">
                <Input v-model="fog.Email" placeholder="请输入邮箱">
                <span slot="prepend"><Icon :size="16" type="email"></Icon></span>
                </Input>
            </FormItem>
            <FormItem prop="CaptchaVal" label="认证码">
                <Input type="text" v-model="fog.CaptchaVal" placeholder="请输入认证码">
                </Input>
                <img :src="authImg" @click="loadCaptcha"/>
            </FormItem>
            <FormItem>
                <Button type="primary" long size="large" @click="forgetSubmit">找回密码</Button>
                <div style="float: right">
                    <router-link to="/p/user/login">登录</router-link>
                    <router-link to="/p/user/forget">注册</router-link></div>
            </FormItem>
        </Form>
    </card>
</template>

<script>
    export default {
        name: "forget"
    }
</script>
